package com.qianfeng.dao;

import com.qianfeng.pojo.Car;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CarMapper {
    int deleteByPrimaryKey(String carid);

    int insert(Car record);

    int insertSelective(Car record);

    Car selectByPrimaryKey(String carid);

    int updateByPrimaryKeySelective(Car record);

    int updateByPrimaryKey(Car record);
    //查询所有
    List<Car>selectAll();
    //多条件查询
    List<Car>select(@Param("carid") String carid, @Param("carzy")String carzy, @Param("ename")String ename, @Param("shiyongzhuangtaiid")Integer shiyongzhuangtaiid);
    //逻辑删除
    int updateCar(String carid);
}